<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><present name="detailTitle"><{$detailTitle}>-</present><present name="moduleTitle"><{$moduleTitle}>-</present><{$site.globalTitle}></title>
<meta name="keywords" content="<{$seo_keyword|default=$site['keyword']}>" />
<meta name="description" content="<{$seo_description|default=$site['description']}>" />
<link href="__PUBLIC__/new/css/public.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://lib.sinaapp.com/js/jquerytools/1.2.5/jquery.tools.min.js"></script>
<script type="text/javascript">
(function($){
	$(function(){
		//搜索类型选择
		$(".search .chose .chose_xl a").click(function(){
			$("#searchShow").html( $(this).html() );//显示文字
			$("#searchShow").attr( 'value', $(this).attr('value') );//保存类型代码
		});
    });
})(jQuery);

//搜索按钮点击
function TopSearch(){
	var key_word = $("#top_search_keyword").val();//关键词
	if(key_word == '请输入关键字') {
		alert('请输入关键字');
		return false;
	}
	var search_type = $("#searchShow").attr('value');//搜索类型
	var search_form = $("#top_search_form");
	search_form.attr('accept-charset',"utf-8");
	document.charset = "utf-8";
	switch(search_type) {
		case 'tour':
			search_form.attr('accept-charset',"gb2312");
			document.charset = "gb2312";
			search_form.attr('action', '__MAINSITE__/newds/search/search.asp');
			break;
		case 'inn':
			search_form.attr('action', '__KZURL__/hotel/hotellist-k-' + key_word);
			break;
		case 'user':
			search_form.attr('action', '__UCHOME__/cp.php?ac=friend&op=search&searchmode=1&searchkey=' + key_word);
			break;
		case 'blog':
			search_form.attr('action', '__UCHOME__/space.php?do=blog&searchmode=1&searchkey=' + key_word);
			break;
	}
	return true;
};
</script>
<!--[if IE 6]>
<script src="iepng.js" type="text/javascript"></script>
<script type="text/javascript">
   EvPNG.fix('img,div,ul,li,a,span'); 
</script>
<![endif]-->
</head>
<body>
<!--头部 start-->
<div class="top">
  <div class="head"> <notdefined name='__USERID__'>
    <ul class="head_left">
      <li>欢迎来到梦之旅</li>
      <li class="red1"><a href="__UCHOME__/do.php?ac=__LOGIN_ACTION__" target="_blank">请登录</a></li>
      <li class="gray zc"><a href="__UCHOME__/do.php?ac=__REGISTER_ACTION__" target="_blank">用户注册</a></li>
    </ul>
    <else/>
    <ul class="head_left">
      <li>欢迎来到梦之旅</li>
      <li class="red1"><a href="__UCHOME__/space.php?uid=<{$Think.const.__USERID__}>" target="_blank"><{$Think.const.__USERNAME__}></a></li>
      <li class="gray"><a href='__UCHOME__/user/cp.php?ac=common&op=logout' target='_blank'>退出</a></li>
    </ul>
    </notdefined>
    <ul class="head_right">
      <li class="red1 gw"><a href="" target="_blank">购物车<em class="dark">0</em>件</a></li>
      <li class="gray">|</li>
      <li class="gray sc"><a href="" target="_blank">收藏夹</a></li>
      <li class="gray">|</li>
      <li class="gray hy"><a href="__UCHOME__/space.php?do=home" target="_blank">会员中心</a></li>
      <li class="gray">|</li>
      <li class="gray bz"><a href="" target="_blank">帮助中心</a></li>
    </ul>
  </div>
  <div class="clear"></div>
  <div class="menu">
    <div class="logo"><a href="__SITEURL__" target="_blank"></a></div>
    <!--nav start-->
    <div class="nav">
      <li> <a href="__SITEURL__" target="_blank">首页</a> </li>
      <li> <img src="__PUBLIC__/new/images/jgx.jpg" /> </li>
      <li onMouseOver="this.className='qly_hover'" onMouseOut="this.className=''"> <span><a href="javascript:;" class="qly" >我要去旅游</a></span> <span class="qly_xl"> <a href="http://www.dreams-travel.com/citytour/" target="_blank">附近转转</a> <a href="http://www.dreams-travel.com/jpxl/" target="_blank">国内走走</a> <a href="http://www.dreams-travel.com/abroad/" target="_blank">出国看看</a></span> </li>
      <li><img src="__PUBLIC__/new/images/jgx.jpg" /></li>
      <li class="lm"><a href="__KZURL__" target="_blank">客栈联盟</a></li>
      <li><img src="__PUBLIC__/new/images/jgx.jpg" /></li>
      <li onMouseOver="this.className='sq_hover'" onMouseOut="this.className=''"> <span><a href="javascript:;" class="sq">社区</a></span> <span class="sq_xl"> <a href="__UCHOME__/space.php?do=blog" target="_blank">游记攻略</a> <a href="__UCHOME__/space.php?do=album" target="_blank">旅游相册</a> <a href="__UCHOME__/space.php?do=event" target="_blank">驴友活动</a> <a href="__UCHOME__/space.php?do=mtag" target="_blank">小组</a> <a href="__UCHOME__/space.php?do=doing" target="_blank">吼吼</a> </span> </li>
    </div>
    <!--nav end-->
    <div class="search">
      <form id='top_search_form' onsubmit="return TopSearch();" method="post" target="_blank" action="">
        <ul class="chose">
          <li onMouseOver="this.className='chose_hover'" onMouseOut="this.className=''">
            <p><span><a href="javascript:;" id="searchShow" value='tour'>线 路</a></span></p>
            <p> <span class="chose_xl"> <a href="javascript:;" value='tour'>线 路</a> <a href="javascript:;" value='inn'>客 栈</a> <a href="javascript:;" value='user'>找 人</a> <a href="javascript:;" value='blog'>攻 略</a> </span> </p>
          </li>
        </ul>
        <ul class="search_ss">
          <input type="text" id="top_search_keyword" name="cids" onFocus="this.className='hover_ss';if(this.value=='请输入关键字')this.value='';" onBlur="this.className='';if(this.value=='')this.value='请输入关键字';" value="请输入关键字" />
        </ul>
        <ul class="ss_button">
          <input type="submit" value="搜 索" />
        </ul>
        <ul class="gjz">
          <li> <span class="zs">热门搜索：</span>
            <volist name='hotkeyword' id='row'>
              <a href="#<{:urlencode($row['info1'])}>" target="_blank"><{$row.info1}></a>
            </volist>
          </li>
        </ul>
      </form>
    </div>
  </div>
</div>
<!--头部 end-->
<div class="clear"></div>
